package com.sunyifeng.ch10;

import java.util.*;

/**
 * 10.1 为空值建模
 */
public class Car {

    private Optional<Insurance> insurance;

    public Optional<Insurance> getInsurance() {
        return insurance;
    }
}
